From: Jakub Steiner Date: Tue, 3 Mar 2015 16:43:17 +0000 (+0100) Subject: theme: have a separate state for hover and focus X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1606 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8a732d3c1354183c84138ba97f3c61d4e1a82f44;p=gnome-shell.git theme: have a separate state for hover and focus https://bugzilla.gnome.org/show_bug.cgi?id=745246 --- diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 265d2a516..6fa2a2fd8 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -392,9 +392,12 @@ StScrollBar { background-color: black; box-shadow: inset 0 1px 0px #0d0d0d; font-weight: bold; } - .popup-menu .popup-menu-item:hover { + .popup-menu .popup-menu-item:focus { background-color: #215d9c; color: #ffffff; } + .popup-menu .popup-menu-item:hover { + background-color: rgba(255, 255, 255, 0.1); + color: #fff; } .popup-menu .popup-menu-item:active { background-color: #1c5187; color: #ffffff; } diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index b76ab4718..d0754c28e 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -392,9 +392,12 @@ StScrollBar { background-color: #343a3a; box-shadow: inset 0 1px 0px #282c2c; font-weight: bold; } - .popup-menu .popup-menu-item:hover { + .popup-menu .popup-menu-item:focus { background-color: #215d9c; color: #ffffff; } + .popup-menu .popup-menu-item:hover { + background-color: rgba(238, 238, 236, 0.1); + color: #eeeeec; } .popup-menu .popup-menu-item:active { background-color: #1c5187; color: #ffffff; }